/* execTest.c
 *	Simple program to test whether Exec system call works or not for Virtual Memory implementation.
 *
 *      Expected output: Both process should be created successfully.
 *      Actual output: Both process are created and ran till end. Each process exits with correct exit-status.
 *
 */

#include "syscall.h"


void main()
{
	if ( Exec("../test/matmult") != -1 ) {
		Write( "\nMatmult Exec'ed.\n\0" , 18, ConsoleOutput );
	}
	
	if ( Exec("../test/sort") != -1 ) {
		Write( "\nSort Exec'ed..\n\0" , 16, ConsoleOutput );
	}
	
	Exit(0) ;
}
